<style>
<!--
body {
    font-family: Arial;
    font-size: 12px;
    margin: 0;
    text-align: center;
}
.d1{
	width:5cm;height:1.2cm; text-algin:center;overflow:hidden;padding-top:10px;	
}
.d1_1{
	width:5cm;height:2cm; text-algin:center;overflow:hidden;
}
.d2{
	height:0.9cm;overflow:hidden;width:100%;text-align:center;
}
.d3{
	width:100%;text-align:center;overflow:hidden;height:17px;
}
.d4{
	width:100%;text-align:center;overflow:hidden;height:17px;
}
.d5{
	display:inline-block;*display:inline;zoom:1;width:1.2cm;text-align:right;overflow:hidden;height:17px;
}
.d6{
	display:inline-block;width:3.7cm;*display:inline;zoom:1;text-align:right;overflow:hidden;height:17px;
}
.i1{
	width:5cm;margin-left:0cm;
}
-->
</style>
<{foreach from=$results item=product name=results}>
	<{if $product.operator_flag}>
		<div style="" class='d1'>
			<div style="" class='d4'><{$product.operator}></div>
			<div style="" class='d4'><{$product.customer_id}>-<{$product.product_sku}></div>
		</div>
	<{else}>
		<div style="" class='d1_1'>
			<div style="height:0.1cm"></div>	
			<div style="" class='d2'>
			<img src="/product/product/barcode?code=<{$product.customer_id}><{$product.product_sku}>" style="" class='i1'/></div>
			<div style="" class='d3'><{$product.customer_id}>-<{$product.product_sku}></div>
			<div style="" class='d5'><{$product.customer_id}></div>
			<div style="" class='d6'><{$product.category}></div>
		</div>
	<{/if}>	
		<div class="contentBottom" style="<{if !$smarty.foreach.results.last}>page-break-after:always<{/if}>"></div>
<{/foreach}>

